<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2016/12/9
 * Time: 14:12
 */
header("Content-Type:application/json");
if(isset($_POST['username'])){
	$username = $_POST['username'];
	json_encode(["username" => $username]);
}else{
	json_encode(['status' => false]);
}